package net.zoneland.knowledge.service.impl;

import net.zoneland.knowledge.dao.PilotPreachMapper;
import net.zoneland.knowledge.model.PilotPreach;
import net.zoneland.knowledge.service.PilotPreachService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PilotPreachServiceImpl  implements PilotPreachService {

    @Autowired
    private PilotPreachMapper pilotPreachMapper;

    /**
     * 获取领航宣讲数据.
     * @param pilotPreach 领航宣讲实体类.
     * @return 结果集
     */
    @Override
    public List<PilotPreach> getPilotPreach(final PilotPreach pilotPreach) {
        return pilotPreachMapper.getPilotPreach(pilotPreach);
    }
}
